home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2003 May / cmycha200305.iso / MutantStorm / setup_mutantstorm_demo.exe / {app} / script / level109.lua < prev    next >
Text File  |  2002-10-22  |  3KB  |  94 lines

  1. cur_level_num = 124
  2.  
  3. dofile("everything.lua")
  4.  
  5. local path = {
  6. -20.886,  -36.1754,  1.52838e-007,
  7. -29.5372,  -29.5372,  1.52838e-007,
  8. -36.1755,  -20.886,  1.52838e-007,
  9. -40.3486,  -10.8113,  1.52838e-007,
  10. -41.7719,  0,  1.52838e-007,
  11. -40.3486,  10.8114,  1.52838e-007,
  12. -36.1755,  20.886,  1.52838e-007,
  13. -29.5372,  29.5372,  1.52838e-007,
  14. -20.886,  36.1754,  1.52838e-007,
  15. -10.8113,  40.3485,  1.52838e-007,
  16. 0,  41.7718,  1.52838e-007,
  17. 10.8113,  40.3485,  1.52838e-007,
  18. 20.886,  36.1754,  1.52838e-007,
  19. 29.5372,  29.5372,  2.2489e-006,
  20. 36.1754,  20.886,  1.52838e-007,
  21. 40.3485,  10.8114,  1.52838e-007,
  22. 41.7718,  0,  1.52838e-007,
  23. 40.3485,  -10.8113,  1.52838e-007,
  24. 36.1754,  -20.886,  1.52838e-007,
  25. 29.5372,  -29.5372,  1.52838e-007,
  26. 20.886,  -36.1754,  1.52838e-007,
  27. 10.8113,  -40.3486,  1.52838e-007,
  28. 0,  -41.7719,  1.52838e-007,
  29. -10.8114,  -40.3486,  1.52838e-007,
  30. }
  31. c_add_a_path("path1", 0, 100, 100, 0, 0, 0, path)
  32.  
  33. local path = {
  34. -10.8607,  -18.8112,  6.55894e-007,
  35. -5.62195,  -20.9813,  6.55894e-007,
  36. 0,  -21.7214,  6.55894e-007,
  37. 5.62186,  -20.9813,  6.55894e-007,
  38. 10.8607,  -18.8112,  6.55894e-007,
  39. 15.3593,  -15.3593,  6.55894e-007,
  40. 18.8112,  -10.8607,  6.55894e-007,
  41. 20.9813,  -5.62189,  6.55894e-007,
  42. 21.7214,  0,  6.55894e-007,
  43. 20.9813,  5.62191,  6.55894e-007,
  44. 18.8112,  10.8607,  6.55894e-007,
  45. 15.3593,  15.3593,  1.74585e-006,
  46. 10.8607,  18.8112,  6.55894e-007,
  47. 5.62191,  20.9813,  6.55894e-007,
  48. 0,  21.7214,  6.55894e-007,
  49. -5.62191,  20.9813,  6.55894e-007,
  50. -10.8607,  18.8112,  6.55894e-007,
  51. -15.3593,  15.3593,  6.55894e-007,
  52. -18.8113,  10.8607,  6.55894e-007,
  53. -20.9813,  5.62191,  6.55894e-007,
  54. -21.7214,  0,  6.55894e-007,
  55. -20.9813,  -5.62189,  6.55894e-007,
  56. -18.8113,  -10.8607,  6.55894e-007,
  57. -15.3593,  -15.3593,  6.55894e-007,
  58. }
  59. c_add_a_path("path2", 0, 100, 100, 0, 0, 0, path)
  60.  
  61. function LEVEL_start()
  62.         ticker = 0
  63.         pylon_start("circle-1",90.0)
  64.         floor_start_random()
  65.         player_start( -42.2322 , -0.555609 , 0.0 )
  66. end
  67.  
  68. function LEVEL_gameloop()
  69.         everying_gameloop()
  70.  
  71. if ticker == 500 then
  72. actor_plopper( "mergeblob-1_big_emerge", 1,0,0,     -10.5304,-10.5304,-11.7016,-11.7016,    -90.0,0.0,    "path2" )
  73. end
  74.  
  75. if ticker == 500 then
  76. actor_plopper( "mergeblob-1_big_emerge", 1,0,0,     15.9331,15.9331,0.0210703,0.0210703,    -90.0,0.0,    "path2" )
  77. end
  78.  
  79. if ticker == 500 then
  80. actor_plopper( "mergeblob-1_big_emerge", 1,0,0,     -5.51142,-5.51142,13.587,13.587,    -90.0,0.0,    "path2" )
  81. end
  82.  
  83. if ticker == 600 then
  84. actor_plopper( "pathfly_tiny", 26,0,5,     -6.94083,7.16372,-48.3413,-35.067,    -90.0,0.0,    "path1" )
  85. end
  86.  
  87. if ticker == 600 then
  88. actor_plopper( "pathfly_tiny", 26,0,5,     -6.94083,7.16372,34.5074,47.7816,    -90.0,0.0,    "path1" )
  89. c_no_more_beasties_to_come()
  90. end
  91.  
  92. end
  93.  
  94.